﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD  HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="content-type" content="text/html;charset=utf-8" />
		<title>Login_Our_Web</title>
	<script type="text/javascript">	
		function changeImage() {
			var img = document.getElementById('img1');
			var newSrc = "../ImagServlet?" + (new Date()).getTime();
			img.src = newSrc;
		}
	</script>
</head>
	<body>
		<form action='../UploadActionServlet' method='POST' enctype='multipart/form-data' >
		<table border='1' width='50%'>
				<tr>
					<td>
						File Address:<input type="file" name="file"/>
					</td>
				</tr>
	
				<tr>
					<td>
						Description&nbsp:<input type="text" name="desc"/>
					</td>
				</tr>
			
				<tr>
					<td>
						Check_code:<input type="text" name="check"  />
						<img src="../ImagServlet" width="70" heigth="22" id="img1" />
					</td>
				</tr>
				
				<tr>
					<td>
						<a href="javascript:;" onclick="changeImage(); ">看不见了，重新来一个</a>
						<input type="submit" value="submit" />
						<input type="reset" value="clear">
					</td>
				</tr>	
				
			</table>
		</form>
	</body>
</html>